package com.consumer.model;

import org.springframework.stereotype.Component;

/**
 * @author Liunh
 */
@Component
public class RocketMqGroupTopic {

    public static class Group {

        public static final String DEFAULT_GROUP = "default_group";

        public static final String TEST_GROUP = "test_group";

        public static final String COLLECT_BOOK_GROUP = "collect_book_group";
        public static final String COLLECT_EBOOK_GROUP = "collect_ebook_group";
        public static final String COLLECT_LOAN_GROUP = "collect_loan_group";
        public static final String COLLECT_READER_GROUP = "collect_reader_group";
        public static final String COLLECT_ENTRY_RECORD_GROUP = "collect_entry_record_group";

        public static final String STATISTICS_BOOK_GROUP = "statistics_book_group";
        public static final String STATISTICS_LOAN_GROUP = "statistics_loan_group";
        public static final String STATISTICS_READER_GROUP = "statistics_reader_group";
        public static final String STATISTICS_EBOOK_GROUP = "statistics_ebook_group";

        public static final String IMPORT_BOOK_GROUP = "import_book_group";
        public static final String IMPORT_LOAN_GROUP = "import_loan_group";
        public static final String IMPORT_READER_GROUP = "import_reader_group";
        public static final String IMPORT_EBOOK_GROUP = "import_ebook_group";

        public static final String SHARING_RECEIVE_GROUP = "sharing_receive_group";
        public static final String SHARING_SEND_GROUP = "sharing_send_group";

        public static final String MSG_RECEIVE_GROUP = "msg_receive_group";
        public static final String MSG_SEND_GROUP = "msg_send_group";

    }

    public static class Topic {

        public static final String DEFAULT_TOPIC = "default_topic";

        public static final String TEST_TOPIC = "test_topic";

        /**
         * 数据采集
         */
        public static final String COLLECT_BOOK_TOPIC = "collect_book_topic";
        public static final String COLLECT_LOAN_TOPIC = "collect_loan_topic";
        public static final String COLLECT_READER_TOPIC = "collect_reader_topic";
        public static final String COLLECT_EBOOK_TOPIC = "collect_ebook_topic";
        public static final String COLLECT_ENTRY_RECORD_TOPIC = "collect_entry_record_topic";

        /**
         * 统计
         */
        public static final String STATISTICS_BOOK_TOPIC = "statistics_book_topic";
        public static final String STATISTICS_LOAN_TOPIC = "statistics_loan_topic";
        public static final String STATISTICS_READER_TOPIC = "statistics_reader_topic";
        public static final String STATISTICS_EBOOK_TOPIC = "statistics_ebook_topic";

        /**
         * 导入数据
         */
        public static final String IMPORT_BOOK_TOPIC = "import_book_topic";
        public static final String IMPORT_LOAN_TOPIC = "import_loan_topic";
        public static final String IMPORT_READER_TOPIC = "import_reader_topic";
        public static final String IMPORT_EBOOK_TOPIC = "import_ebook_topic";

        /**
         * 数据共享
         */
        public static final String SHARING_TOPIC = "sharing_topic";

    }

    /**
     * tag
     */
    public static class Tag {

        public static final String DEFAULT_TAG = "*";

        public static final String TEST_TAG = "TagTest";

        public static final String STATISTICS_BOOK_TAG = "TagStatisticsBook";
        public static final String STATISTICS_LOAN_TAG = "TagStatisticsLoan";
        public static final String STATISTICS_READER_TAG = "TagStatisticsReader";
        public static final String STATISTICS_EBOOK_TAG = "TagStatisticsEbook";

        public static final String SHARING_RECEIVE_TAG = "TagReceive";
        public static final String SHARING_SEND_TAG = "TagSend";
    }


}
